package cn.shengchao.examstar.gankao.infrastrure.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import lombok.Data;

@Data
@TableName(value = "gk_order_item")
public class GkOrderItem {
    /**
     * 自增主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 赶考订单
     */
    @TableField(value = "gk_order_id")
    private String gkOrderId;

    /**
     * 买几天
     */
    @TableField(value = "expired_day")
    private Integer expiredDay;

    /**
     * 价格
     */
    @TableField(value = "price")
    private BigDecimal price;

    /**
     * 课节id
     */
    @TableField(value = "section_id")
    private Integer sectionId;
}